﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Master
{
    public class StockSign
    {
        #region Properties
        // STOCK_SIGN_ID
        public virtual int StockSignId { set; get; }
        // STOCK_SIGN_NAME_EN
        public virtual String StockSignNameEn { set; get; }
        // STOCK_SIGN_NAME_TH
        public virtual String StockSignNameTh { set; get; }
        // STOCK_SIGN_DESC
        public virtual String StockSignDesc { set; get; }
        // CREATE_USER_ID1
        public virtual String CreateUserId1 { set; get; }
        // CREATE_TS1
        public virtual DateTime CreateTs1 { set; get; }

        #endregion



        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            if (obj.GetType() != typeof(StockSign) && !(obj is StockSign))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}", StockSignId);
        }
    }
}
